﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.User
{
    /// <summary>
    /// 用户基本信息表
    /// </summary>
    public class UserBasicInfoModel
    {
        [Key]
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "用户登录名：")]
        public string LoginName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "姓名：")]
        public string Name { get; set; }

        [DataType(DataType.PhoneNumber)]
        [Display(Name = "联系电话：")]
        public string Tel { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "联系地址：")]
        public string Address { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "QQ：")]
        public string QQ { get; set; }

        [DataType(DataType.EmailAddress)]
        [Display(Name = "电子邮件：")]
        public string Email { get; set; }

    }
}
